import request from '@/utils/request'

// 查询月度成本列表
export function importMonthCost(query) {
  return request({
    url: '/financial/BiMonthlyCostDwd/importMonthCost',
    method: 'get',
    params: query
  })
}
// 查询月度成本列表
export function listBiMonthlyCostDwd(query) {
  return request({
    url: '/financial/BiMonthlyCostDwd/list',
    method: 'get',
    params: query
  })
}

// 查询月度成本详细
export function getBiMonthlyCostDwd(id) {
  return request({
    url: '/financial/BiMonthlyCostDwd/' + id,
    method: 'get'
  })
}

// 新增月度成本
export function addBiMonthlyCostDwd(data) {
  return request({
    url: '/financial/BiMonthlyCostDwd',
    method: 'post',
    data: data
  })
}

// 修改月度成本
export function updateBiMonthlyCostDwd(data) {
  return request({
    url: '/financial/BiMonthlyCostDwd',
    method: 'put',
    data: data
  })
}

// 删除月度成本
export function delBiMonthlyCostDwd(id) {
  return request({
    url: '/financial/BiMonthlyCostDwd/' + id,
    method: 'delete'
  })
}
